package tts.domain;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

public class Orderform {

	private int id;
	private int userId;
	private String trainId;
	private LocalDateTime byDate;
	private int ticketNumber;
	private BigDecimal totalFares;

	public Orderform() {
		super();
	}

	public Orderform(int id, int userId, String trainId, LocalDateTime byDate, int ticketNumber,
			BigDecimal totalFares) {
		super();
		this.id = id;
		this.userId = userId;
		this.trainId = trainId;
		this.byDate = byDate;
		this.ticketNumber = ticketNumber;
		this.totalFares = totalFares;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getTrainId() {
		return trainId;
	}

	public void setTrainId(String trainId) {
		this.trainId = trainId;
	}

	public LocalDateTime getByDate() {
		return byDate;
	}

	public void setByDate(LocalDateTime byDate) {
		this.byDate = byDate;
	}

	public int getTicketNumber() {
		return ticketNumber;
	}

	public void setTicketNumber(int ticketNumber) {
		this.ticketNumber = ticketNumber;
	}

	public BigDecimal getTotalFares() {
		return totalFares;
	}

	public void setTotalFares(BigDecimal totalFares) {
		this.totalFares = totalFares;
	}

}
